﻿using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace MedicalPCTerminal.Read.API.Appcation.Commands.HospitalCommand
{
    public class HospitalQueryCommand : IRequest<APIResult<object>>
    {
        /// <summary>
        /// 医院ID
        /// </summary>
        public int? HospitalId { get; set; }

        /// <summary>
        /// 医院名称
        /// </summary>
        public string? HospitalName { get; set; }

        /// <summary>
        /// 是否推荐（1=推荐，0=不推荐）
        /// </summary>
        public int? IsRecommended { get; set; }

        /// <summary>
        /// 医院所在地区
        /// </summary>
        public string? Location { get; set; }

        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页条数
        /// </summary>
        public int PageSize { get; set; } = 10;
    }
}
